﻿
namespace Admin.NET.Core.Btms;

/// <summary>
/// 表单必填配置
/// </summary>
[SugarTable("BasFormConfig", "表单必填配置")]
public class BasFormConfig  : EntityBaseString
{
    /// <summary>
    /// 标记
    /// </summary>
    [Required]
    [SugarColumn( ColumnDescription = "标记", Length = 128)]
    public string tag { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    [Required]
    [SugarColumn( ColumnDescription = "标题", Length = 512)]
    public string title { get; set; }
    
    /// <summary>
    /// 必填配置
    /// </summary>
    [Required]
    [SugarColumn(ColumnDescription = "必填配置", Length = -1, IsJson = true)]
    public JObject config { get; set; }
    
}
